<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>订单支付</title>
		<!-- 引入样式 -->
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@beta/lib/index.css">
		<!-- 引入组件 -->
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/vant@beta/lib/vant.min.js"></script>
		<script type="application/javascript" src="../js/flexible.debug.js"></script>
		<script type="application/javascript" src="../js/flexible_css.debug.js"></script>
		<script type="text/javascript" src="../js/jquery-1.10.1.min.js"></script>
		<script type="text/javascript" src="../js/querystring.min.js"></script>
		<script type="text/javascript" src="../js/cfg.js"></script>
		<script type="text/javascript" src="../js/h5pay.js"></script>
		<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
		<link rel="stylesheet" href="../css/layout.css">
	</head>
	<body>
		<div id="app" v-cloak>
			<div class="top backgroundcolorf8f8f8 pad-tb60">
				<p class="font32 color333 fontBold textCenter">订单编号:{{orderno}}</p>
				<p class="color333 font58 fontBold textCenter mg-t25"><em class="font42">¥</em>{{amount}}</p>
			</div>
			<div class="midell mg-t20 backgroundcolorfff pad-lr24">
				<p class="height99 lineHeight99 font30"><span class="color999 left">收款方</span><span class="right color333">重庆纵情向前科技有限公司</span></p>
			</div>
			<p class="backgroundcolor08c160 height88 lineHeight88 textCenter colorfff width702 gopay" @click="goLink('paysuccess.html?parent_order_no='+orderno+'&url_type='+ordertype)">立即支付</p>
		</div>
		<script>
			var vant = window.vant;
			var qsd = querystring.parse();
			var cfg = new AppCfg().init({
				isDebug: false,
			});
			Vue.use(vant);
			new Vue({
				el: '#app',
				data: {
					amount: qsd.amount,
					orderno: qsd.orderno,
					ordertype:qsd.ordertype
				},
				created: function() {
					// this.goLink()
				},
				methods: {
					goLink: function(val) {
						callpay();
						// window.location.href=val;
					}
				},
				filters: {
					formatFixed: function(val) {
						return parseFloat(val).toFixed(2)
					}
				}
			})
		</script>
	</body>
</html>
